import App from './App'

// #ifndef VUE3
import Vue from 'vue'

import store from './store'  
Vue.prototype.$store = store
// 导入公共方法
import PubFuc from './common/common'
Vue.prototype.$pubFuc = PubFuc
// // 导入获取RSA公钥方法
// import crypto from './utils/crypto.js'
// Vue.prototype.$getPublicKey = crypto.getPublicKey
// 导入权限校验接口
// import login from '@/api/login.js'
// Vue.prototype.$singleMenuCheck = login.singleMenuCheck

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif